package com.sl.mes.db.dao;

import com.sl.mes.db.vo.MesSearchHistory;
import com.sl.mes.db.vo.MesSearchHistoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MesSearchHistoryMapper {
    long countByExample(MesSearchHistoryExample example);

    int deleteByExample(MesSearchHistoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MesSearchHistory record);

    int insertSelective(MesSearchHistory record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesSearchHistory selectOneByExample(MesSearchHistoryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesSearchHistory selectOneByExampleSelective(@Param("example") MesSearchHistoryExample example, @Param("selective") MesSearchHistory.Column ... selective);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    List<MesSearchHistory> selectByExampleSelective(@Param("example") MesSearchHistoryExample example, @Param("selective") MesSearchHistory.Column ... selective);

    List<MesSearchHistory> selectByExample(MesSearchHistoryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesSearchHistory selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") MesSearchHistory.Column ... selective);

    MesSearchHistory selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    MesSearchHistory selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") MesSearchHistory record, @Param("example") MesSearchHistoryExample example);

    int updateByExample(@Param("record") MesSearchHistory record, @Param("example") MesSearchHistoryExample example);

    int updateByPrimaryKeySelective(MesSearchHistory record);

    int updateByPrimaryKey(MesSearchHistory record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByExample(@Param("example") MesSearchHistoryExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table mes_search_history
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int logicalDeleteByPrimaryKey(Integer id);
}